<h1>Listing phases</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Created at</th>
    <th>Updated at</th>
  </tr>

<% for phase in @phases %>
  <tr>
    <td><%=h phase.name %></td>
    <td><%=h phase.created_at %></td>
    <td><%=h phase.updated_at %></td>
    <td><%= link_to 'Show', phase %></td>
    <td><%= link_to 'Edit', edit_phase_path(phase) %></td>
    <td><%= link_to 'Destroy', phase, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New phase', new_phase_path %>
